import java.io.Serializable;
import java.util.ArrayList;

public class NormalMessage extends Message implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String content = null;
	private User sender = null;

	public NormalMessage(String content, User sender, ArrayList<User> receipients) {
		super();
		this.content = content;
		this.sender = sender;
	}
	
	public NormalMessage(String content, User sender) {
		super();
		this.content = content;
		this.sender = sender;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public User getSender() {
		return sender;
	}

	public void setSender(User sender) {
		this.sender = sender;
	}
		
	public String toString() {
		return this.getContent();
	}

}
